package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Payment;
import org.springframework.web.bind.annotation.RequestParam;

public interface PaymentService {

    //写
    int create(Payment payment);

    //读
    Payment getPaymentById(@RequestParam("id") Long id);

}
